<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="ctx" value="${pageContext.request.contextPath }"/>
<style type="text/css">
	#dataForm table {
		border: 1px solid #EFF5FF;
		padding: 0px;
		margin: 0px;
		width: 100%;
		height: 100%;
	}
	#dataForm table td{
 		border: 1px solid #EFF5FF;
 		line-height: 28px;
 		font-size: 11pt;
 		padding: 5px;
	}
	#dataForm table td input {
		width:230px;
		height:28px;
	}
	#searchForm table {
		border: 0px solid #EFF5FF;
		padding: 0px;
		margin: 0px;
		height: 50px;
	}
	#searchForm table td{
 		border: 0px solid #EFF5FF;
 		line-height: 28px;
 		font-size: 11pt;
 		padding: 8px;
 		width:250px;
	}
	#searchForm .lable{
		width:60px;
		text-align: right;
	}
	#searchForm table td input {
		width:200px;
		height:28px;
	}
	#searchForm .button{
		width:150px;
		text-align: center;
	}
	#searchForm .button a{
		width:70px;
		height:28px;
	}
</style>
<!--基础样式包-->
<link rel="stylesheet" href="${ctx }/css/style.css" rel="stylesheet"/>

<!--easyui主题包-->
<link href="${ctx }/css/themes/ui-cupertino/easyui.css" rel="stylesheet"/>
<!--图标包-->
<link href="${ctx }/css/themes/icon.css"  rel="stylesheet"/>

<!--引入jquery-->
<script type="text/javascript" src="${ctx }/js/jquery.min.js" ></script>
<!--引入easyui环境-->
<script type="text/javascript" src="${ctx }/js/jquery.easyui.min.js" ></script>

<!--中文包-->
<script type="text/javascript" src="${ctx }/js/easyui-lang-zh_CN.js" ></script>
<!--拓展包-->
<script type="text/javascript" src="${ctx }/js/extEasyUI.js" ></script>
<script type="text/javascript" src="${ctx }/js/extJquery.js" ></script>

<!--引入门户包-->
<script type="text/javascript" src="${ctx }/js/jquery.portal.js" ></script>



<script type="text/javascript">
	function page(id){
		$('#'+id).datagrid({loadFilter:pagerFilter}).datagrid('loadData');
	}
	
	function hideToolBarBtn(){
		$('#add').hide();//jq隐藏
    	$('#edit').hide();
    	$('#remove').hide();
	}
	
	function showToolBarBtn(){
		if($.canAdd){
    		$('#add').show();//jq显示
    	}
    	if($.canEdit){
    		$('#edit').show();
    	}
    	if($.canRemove){
    		$('#remove').show();
    	}
	}
</script>







